package com.one.blocks.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author linfuxin Created on 2022-02-14 10:40:27
 */
@Getter
@AllArgsConstructor
public enum ResponseEnum implements CodeMsgEnum {
    /**
     * 操作成功
     */
    SUCCEED(200, null),

    /**
     * 服务级别错误码
     */
    SERVICE_ERROR(500, "服务异常"),
    ;

    private final int code;
    private final String msg;
}
